import request from '@/utils/request'

// 查询流量统计列表
export function listLltj(query) {
  return request({
    url: '/tjbb/sjcx/lltj/list',
    method: 'get',
    params: query
  })
}

// 查询流量统计详细
export function getLltj(id) {
  return request({
    url: '/tjbb/sjcx/lltj/' + id,
    method: 'get'
  })
}

// 新增流量统计
export function addLltj(data) {
  return request({
    url: '/tjbb/sjcx/lltj',
    method: 'post',
    data: data
  })
}

// 修改流量统计
export function updateLltj(data) {
  return request({
    url: '/tjbb/sjcx/lltj',
    method: 'put',
    data: data
  })
}

// 删除流量统计
export function delLltj(id) {
  return request({
    url: '/tjbb/sjcx/lltj/' + id,
    method: 'delete'
  })
}
